<template>
  <div class='index'>
    <div>{{ data }}</div>
  </div>
</template>

<script setup lang='ts'>
  const fun = (a:number,b:number) => {
    return a/b;
  }
  data.value = fun(2,0)
</script>
<style scoped>

</style>